templateGroup
Type
keyword
Summary
Used with the set command to set the properties of newly created groups.
Syntax
templateGroup
Description
Use the templateGroup keyword to set up default properties to be used for any new groups you create.
The templateGroup can be thought of as a special, abstract object. It is not an actual group, but it has all the properties of a group. The ID property of the templateGroup is zero.
You can use the set command to set the properties of the templateGroup before creating a group. The new group has the properties of the templateGroup, by default. Changing the properties of the templateGroup does not affect existing groups.
The properties of the templateGroup can be returned to the default settings using the reset command.
You can refer to the templateGroup using any of the following forms:
templateGroup
the templateGroup
templateGroup()
The templateGroup keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.
Examples
set the lockLoc of the templateGroup to true
Related
keyword: templateScrollbar, default
object: group
property: properties, ID
control structure: function
function: functionNames
glossary: object, keyword, property, command, group, expression
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile